<!-- File: /app/View/Posts/view.ctp -->


<h1><?php echo $users[$post['Post']['user_id']] . ': ' . $post['Post']['title']; ?></h1>

<div id="post_background">
    <div class="post_body">
        <p>
            <?php echo $post['Post']['body'] ?>
        </p>
    </div>
    
    <div id="fb-root"></div>
    <?php echo $this->Html->script('fb/likeAndComments.js'); ?>

   <div class="fb-like" data-href="http://localhost/portallol/posts/view/<?php echo $post['Post']['id']?>" data-send="false" data-width="450" data-show-faces="true" data-font="arial"></div>
   
    <div class="fb-comments" data-href="http://localhost/portallol/posts/view/<?php echo $post['Post']['id']?>"  data-num-posts="2" data-width="470"></div>
</div>